
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>manifest文件 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="nml.html" />
    
    
    <link rel="prev" href="file.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" >
            
                <span>
            
                    
                    入门
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../introduction/environment.html">
            
                <a href="../introduction/environment.html">
            
                    
                    环境搭建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../introduction/hello.html">
            
                <a href="../introduction/hello.html">
            
                    
                    HelloWorld
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../introduction/dev-and-debug.html">
            
                <a href="../introduction/dev-and-debug.html">
            
                    
                    开发与调试
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" >
            
                <span>
            
                    
                    参考
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="file.html">
            
                <a href="file.html">
            
                    
                    文件组织
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.3.2" data-path="manifest.html">
            
                <a href="manifest.html">
            
                    
                    manifest文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="nml.html">
            
                <a href="nml.html">
            
                    
                    nml文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="page.html">
            
                <a href="page.html">
            
                    
                    页面与组件
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" >
            
                <span>
            
                    
                    组件
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../component/general.html">
            
                <a href="../component/general.html">
            
                    
                    通用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../component/container.html">
            
                <a href="../component/container.html">
            
                    
                    容器组件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../component/basics.html">
            
                <a href="../component/basics.html">
            
                    
                    基础组件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="../component/form.html">
            
                <a href="../component/form.html">
            
                    
                    表单组件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="../component/media.html">
            
                <a href="../component/media.html">
            
                    
                    媒体组件
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <span>
            
                    
                    接口
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../api/general.html">
            
                <a href="../api/general.html">
            
                    
                    通用规则
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../api/basic.html">
            
                <a href="../api/basic.html">
            
                    
                    基本功能
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="../api/interface.html">
            
                <a href="../api/interface.html">
            
                    
                    界面交互
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="../api/request.html">
            
                <a href="../api/request.html">
            
                    
                    网络访问
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="../api/storage.html">
            
                <a href="../api/storage.html">
            
                    
                    文件数据
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.6" data-path="../api/system.html">
            
                <a href="../api/system.html">
            
                    
                    系统能力
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.7" data-path="../api/media.html">
            
                <a href="../api/media.html">
            
                    
                    图形图像
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.8" data-path="../api/service.html">
            
                <a href="../api/service.html">
            
                    
                    厂商服务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.9" data-path="../api/third.html">
            
                <a href="../api/third.html">
            
                    
                    第三方服务
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >manifest文件</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h2 id="manifest&#x6587;&#x4EF6;">manifest&#x6587;&#x4EF6;</h2>
<p>manifest.json &#x6587;&#x4EF6;&#x4E2D;&#x5305;&#x542B;&#x4E86;&#x5E94;&#x7528;&#x63CF;&#x8FF0;&#x3001;&#x63A5;&#x53E3;&#x58F0;&#x660E;&#x3001;&#x9875;&#x9762;&#x8DEF;&#x7531;&#x4FE1;&#x606F;&#x3002;</p>
<table>
<thead>
<tr>
<th style="text-align:left">&#x5C5E;&#x6027;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x9ED8;&#x8BA4;&#x503C;</th>
<th style="text-align:left">&#x5FC5;&#x586B;</th>
<th style="text-align:left">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">package</td>
<td style="text-align:left">String</td>
<td style="text-align:left">-</td>
<td style="text-align:left">&#x662F;</td>
<td style="text-align:left">&#x5E94;&#x7528;&#x5305;&#x540D;&#xFF0C;&#x786E;&#x8BA4;&#x4E0E;&#x539F;&#x751F;&#x5E94;&#x7528;&#x7684;&#x5305;&#x540D;&#x4E0D;&#x4E00;&#x81F4;&#xFF0C;&#x63A8;&#x8350;&#x91C7;&#x7528; <code>com.company.module</code> &#x7684;&#x683C;&#x5F0F;&#xFF0C;&#x5982;&#xFF1A;com.example.demo&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">name</td>
<td style="text-align:left">String</td>
<td style="text-align:left">-</td>
<td style="text-align:left">&#x662F;</td>
<td style="text-align:left">&#x5E94;&#x7528;&#x540D;&#x79F0;&#xFF0C;6&#x4E2A;&#x6C49;&#x5B57;&#x4EE5;&#x5185;&#xFF0C;&#x4E0E;&#x5E94;&#x7528;&#x5546;&#x5E97;&#x4FDD;&#x5B58;&#x7684;&#x540D;&#x79F0;&#x4E00;&#x81F4;&#xFF0C;&#x7528;&#x4E8E;&#x5728;&#x684C;&#x9762;&#x56FE;&#x6807;&#x3001;&#x5F39;&#x7A97;&#x7B49;&#x5904;&#x663E;&#x793A;&#x5E94;&#x7528;&#x540D;&#x79F0;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">icon</td>
<td style="text-align:left">String</td>
<td style="text-align:left">-</td>
<td style="text-align:left">&#x662F;</td>
<td style="text-align:left">&#x5E94;&#x7528;&#x56FE;&#x6807;&#xFF0C;&#x63D0;&#x4F9B;192x192&#x5927;&#x5C0F;&#x7684;&#x5373;&#x53EF;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">versionName</td>
<td style="text-align:left">String</td>
<td style="text-align:left">-</td>
<td style="text-align:left">&#x5426;</td>
<td style="text-align:left">&#x5E94;&#x7528;&#x7248;&#x672C;&#x540D;&#x79F0;&#xFF0C;&#x5982;&#xFF1A;&quot;1.0&quot;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">versionCode</td>
<td style="text-align:left">Integer</td>
<td style="text-align:left">-</td>
<td style="text-align:left">&#x662F;</td>
<td style="text-align:left">&#x5E94;&#x7528;&#x7248;&#x672C;&#x53F7;&#xFF0C;&#x4ECE;1&#x81EA;&#x589E;&#xFF0C;&#x63A8;&#x8350;&#x6BCF;&#x6B21;&#x91CD;&#x65B0;&#x4E0A;&#x4F20;&#x5305;&#x65F6; versionCode+1&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">minPlatformVersion</td>
<td style="text-align:left">Integer</td>
<td style="text-align:left">1000</td>
<td style="text-align:left">&#x5426;</td>
<td style="text-align:left">&#x652F;&#x6301;&#x7684;&#x6700;&#x5C0F;&#x5E73;&#x53F0;&#x7248;&#x672C;&#x53F7;&#xFF0C;&#x539F;&#x7406;&#x540C; Android API Level&#xFF0C;&#x517C;&#x5BB9;&#x6027;&#x68C0;&#x67E5;&#xFF0C;&#x907F;&#x514D;&#x4E0A;&#x7EBF;&#x540E;&#x5728;&#x4F4E;&#x7248;&#x672C;&#x5E73;&#x53F0;&#x8FD0;&#x884C;&#x5E76;&#x5BFC;&#x81F4;&#x4E0D;&#x517C;&#x5BB9;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">features</td>
<td style="text-align:left">Array</td>
<td style="text-align:left">-</td>
<td style="text-align:left">&#x5426;</td>
<td style="text-align:left">&#x63A5;&#x53E3;&#x5217;&#x8868;&#xFF0C;&#x7EDD;&#x5927;&#x90E8;&#x5206;&#x63A5;&#x53E3;&#x90FD;&#x9700;&#x8981;&#x5728;&#x8FD9;&#x91CC;&#x58F0;&#x660E;&#xFF0C;&#x5426;&#x5219;&#x4E0D;&#x80FD;&#x8C03;&#x7528;&#xFF0C;&#x8BE6;&#x89C1;&#x6BCF;&#x4E2A;&#x63A5;&#x53E3;&#x7684;&#x6587;&#x6863;&#x8BF4;&#x660E;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">config</td>
<td style="text-align:left">Object</td>
<td style="text-align:left">-</td>
<td style="text-align:left">&#x662F;</td>
<td style="text-align:left">&#x7CFB;&#x7EDF;&#x914D;&#x7F6E;&#x4FE1;&#x606F;&#xFF0C;&#x8BE6;&#x89C1;&quot;config&quot;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">router</td>
<td style="text-align:left">Object</td>
<td style="text-align:left">-</td>
<td style="text-align:left">&#x662F;</td>
<td style="text-align:left">&#x8DEF;&#x7531;&#x4FE1;&#x606F;&#xFF0C;&#x8BE6;&#x89C1;&quot;router&quot;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">display</td>
<td style="text-align:left">Object</td>
<td style="text-align:left">-</td>
<td style="text-align:left">&#x5426;</td>
<td style="text-align:left">UI&#x663E;&#x793A;&#x76F8;&#x5173;&#x914D;&#x7F6E;&#xFF0C;&#x8BE6;&#x89C1;&quot;display&quot;&#x3002;</td>
</tr>
</tbody>
</table>
<h3 id="config">config</h3>
<p>&#x7528;&#x4E8E;&#x5B9A;&#x4E49;&#x7CFB;&#x7EDF;&#x914D;&#x7F6E;&#x548C;&#x5168;&#x5C40;&#x6570;&#x636E;&#x3002;</p>
<table>
<thead>
<tr>
<th style="text-align:left">&#x5C5E;&#x6027;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x9ED8;&#x8BA4;&#x503C;</th>
<th style="text-align:left">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">logLevel</td>
<td style="text-align:left">String</td>
<td style="text-align:left">log</td>
<td style="text-align:left">&#x6253;&#x5370;&#x65E5;&#x5FD7;&#x7B49;&#x7EA7;&#xFF0C;&#x5206;&#x4E3A; off&#x3001;error&#x3001;warn&#x3001;info&#x3001;log&#x3001;debug&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">designWidth</td>
<td style="text-align:left">Integer</td>
<td style="text-align:left">750</td>
<td style="text-align:left">&#x9875;&#x9762;&#x8BBE;&#x8BA1;&#x57FA;&#x51C6;&#x5BBD;&#x5EA6;&#xFF0C;&#x6839;&#x636E;&#x5B9E;&#x9645;&#x8BBE;&#x5907;&#x5BBD;&#x5EA6;&#x6765;&#x7F29;&#x653E;&#x5143;&#x7D20;&#x5927;&#x5C0F;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">data</td>
<td style="text-align:left">Object</td>
<td style="text-align:left">-</td>
<td style="text-align:left">&#x5168;&#x5C40;&#x6570;&#x636E;&#x5BF9;&#x8C61;&#xFF0C;&#x5C5E;&#x6027;&#x540D;&#x4E0D;&#x80FD;&#x4EE5;$&#x6216;_&#x5F00;&#x5934;&#xFF0C;&#x5728;&#x9875;&#x9762;&#x4E2D;&#x53EF;&#x901A;&#x8FC7; this &#x8FDB;&#x884C;&#x8BBF;&#x95EE;&#xFF1B;&#x5982;&#x679C;&#x5168;&#x5C40;&#x6570;&#x636E;&#x5C5E;&#x6027;&#x4E0E;&#x9875;&#x9762;&#x4E2D; data &#x5C5E;&#x6027;&#x91CD;&#x540D;&#xFF0C;&#x5219;&#x9875;&#x9762;&#x521D;&#x59CB;&#x5316;&#x65F6;&#xFF0C;&#x5168;&#x5C40;&#x6570;&#x636E;&#x4F1A;&#x8986;&#x76D6;&#x9875;&#x9762;&#x4E2D;&#x5BF9;&#x5E94;&#x7684;&#x5C5E;&#x6027;&#x503C;&#x3002;</td>
</tr>
</tbody>
</table>
<h3 id="router">router</h3>
<p>&#x7528;&#x4E8E;&#x5B9A;&#x4E49;&#x9875;&#x9762;&#x7684;&#x7EC4;&#x6210;&#x548C;&#x76F8;&#x5173;&#x914D;&#x7F6E;&#x4FE1;&#x606F;&#xFF0C;&#x5982;&#x679C;&#x9875;&#x9762;&#x6CA1;&#x6709;&#x914D;&#x7F6E;&#x8DEF;&#x7531;&#x4FE1;&#x606F;&#xFF0C;&#x5219;&#x5728;&#x7F16;&#x8BD1;&#x6253;&#x5305;&#x65F6;&#x8DF3;&#x8FC7;&#x3002;</p>
<table>
<thead>
<tr>
<th style="text-align:left">&#x5C5E;&#x6027;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x9ED8;&#x8BA4;&#x503C;</th>
<th style="text-align:left">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">entry</td>
<td style="text-align:left">String</td>
<td style="text-align:left">-</td>
<td style="text-align:left">&#x9996;&#x9875;&#x540D;&#x79F0;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">pages</td>
<td style="text-align:left">Object</td>
<td style="text-align:left">-</td>
<td style="text-align:left">&#x9875;&#x9762;&#x914D;&#x7F6E;&#x5217;&#x8868;&#xFF0C;key &#x503C;&#x4E3A;&#x9875;&#x9762;&#x540D;&#x79F0;&#xFF08;&#x5BF9;&#x5E94;&#x9875;&#x9762;&#x76EE;&#x5F55;&#x540D;&#xFF0C;&#x4F8B;&#x5982;Hello&#x5BF9;&#x5E94;&apos;Hello&apos;&#x76EE;&#x5F55;&#xFF09;&#xFF0C;value &#x4E3A;&#x9875;&#x9762;&#x8BE6;&#x7EC6;&#x914D;&#x7F6E; page&#xFF0C;&#x8BE6;&#x89C1;&quot;router.page&quot;&#x3002;</td>
</tr>
</tbody>
</table>
<h4 id="routerpage">router.page</h4>
<p>&#x7528;&#x4E8E;&#x5B9A;&#x4E49;&#x5355;&#x4E2A;&#x9875;&#x9762;&#x8DEF;&#x7531;&#x4FE1;&#x606F;&#x3002;</p>
<table>
<thead>
<tr>
<th style="text-align:left">&#x5C5E;&#x6027;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x9ED8;&#x8BA4;&#x503C;</th>
<th style="text-align:left">&#x5FC5;&#x586B;</th>
<th style="text-align:left">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">component</td>
<td style="text-align:left">String</td>
<td style="text-align:left">-</td>
<td style="text-align:left">&#x662F;</td>
<td style="text-align:left">&#x9875;&#x9762;&#x5BF9;&#x5E94;&#x7684;&#x7EC4;&#x4EF6;&#x540D;&#xFF0C;&#x4E0E; nml &#x6587;&#x4EF6;&#x540D;&#x4FDD;&#x6301;&#x4E00;&#x81F4;&#xFF0C;&#x4F8B;&#x5982;&apos;hello&apos;&#x5BF9;&#x5E94;&apos;hello.nml&apos;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">path</td>
<td style="text-align:left">String</td>
<td style="text-align:left">/</td>
<td style="text-align:left">&#x5426;</td>
<td style="text-align:left">&#x9875;&#x9762;&#x8DEF;&#x5F84;&#xFF0C;&#x4F8B;&#x5982;&quot;/user&quot;,&#x4E0D;&#x586B;&#x5219;&#x9ED8;&#x8BA4;&#x4E3A;/&lt;&#x9875;&#x9762;&#x540D;&#x79F0;&gt;&#x3002;path &#x5FC5;&#x987B;&#x552F;&#x4E00;&#xFF0C;&#x4E0D;&#x80FD;&#x548C;&#x5176;&#x4ED6; page &#x7684; path &#x76F8;&#x540C;&#x3002;&#x4E0B;&#x9762; page &#x7684; path &#x56E0;&#x4E3A;&#x7F3A;&#x5931;&#xFF0C;&#x4F1A;&#x88AB;&#x8BBE;&#x7F6E;&#x4E3A;<code>&quot;/Index&quot;:&quot;Index&quot;: {&quot;component&quot;: &quot;index&quot;}</code>&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">filter</td>
<td style="text-align:left">Object</td>
<td style="text-align:left">-</td>
<td style="text-align:left">&#x5426;</td>
<td style="text-align:left">&#x58F0;&#x660E;&#x9875;&#x9762;&#x53EF;&#x4EE5;&#x5904;&#x7406;&#x67D0;&#x79CD;&#x8BF7;&#x6C42;&#xFF0C;&#x4F5C;&#x7528;&#x8FD4;&#x56DE;&#x9650;&#x5B9A;&#x5728;&#x5E94;&#x7528;&#x5185;&#x3002;</td>
</tr>
</tbody>
</table>
<h4 id="routerpagefilter">router.page.filter</h4>
<p>&#x58F0;&#x660E;&#x9875;&#x9762;&#x53EF;&#x4EE5;&#x5904;&#x7406;&#x67D0;&#x79CD;&#x8BF7;&#x6C42;&#xFF0C;&#x9875;&#x9762;&#x53EF;&#x4EE5;&#x4ECE; $page &#x83B7;&#x53D6;&#x6253;&#x5F00;&#x9875;&#x9762;&#x7684;&#x53C2;&#x6570;&#xFF0C;&#x53C2;&#x89C1; script &#x811A;&#x672C;&#x3002;filter &#x7684;&#x7ED3;&#x6784;&#x5982;&#x4E0B;&#xFF1A;</p>
<pre><code class="lang-json"><span class="hljs-string">&quot;filter&quot;</span>: {
  <span class="hljs-string">&quot;&lt;action&gt;&quot;</span>: {
    <span class="hljs-string">&quot;uri&quot;</span>: <span class="hljs-string">&quot;&lt;pattern&gt;&quot;</span>
  }
}
</code></pre>
<table>
<thead>
<tr>
<th style="text-align:left">&#x5C5E;&#x6027;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x9ED8;&#x8BA4;&#x503C;</th>
<th style="text-align:left">&#x5FC5;&#x586B;</th>
<th style="text-align:left">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">action</td>
<td style="text-align:left">String</td>
<td style="text-align:left">-</td>
<td style="text-align:left">&#x662F;</td>
<td style="text-align:left">&#x8BF7;&#x6C42;&#x7684;&#x52A8;&#x4F5C;&#xFF0C;&#x76EE;&#x524D;&#x4EC5;&#x652F;&#x6301; view &#x8FD9;&#x4E00;&#x79CD;</td>
</tr>
<tr>
<td style="text-align:left">uri</td>
<td style="text-align:left">Pattern</td>
<td style="text-align:left">-</td>
<td style="text-align:left">&#x662F;</td>
<td style="text-align:left">&#x8BF7;&#x6C42;&#x7684;&#x6570;&#x636E;&#x7684;&#x5339;&#x914D;&#x89C4;&#x5219;&#x3002;&#x5FC5;&#x987B;&#x662F;&#x6B63;&#x5219;&#x8868;&#x8FBE;&#x5F0F;&#x3002;&#x5982; <code>https?://.*</code> &#x53EF;&#x4EE5;&#x5339;&#x914D;&#x6240;&#x6709; http &#x548C; https &#x7C7B;&#x578B;&#x7684;&#x7F51;&#x5740;&#x3002;</td>
</tr>
</tbody>
</table>
<p>&#x53EF;&#x4EE5;&#x5904;&#x7406;&#x6240;&#x6709; http &#x548C; https &#x8BF7;&#x6C42;&#x7684; filter &#x5B9A;&#x4E49;&#x5982;&#x4E0B;&#xFF1A;</p>
<pre><code class="lang-json"><span class="hljs-string">&quot;filter&quot;</span>: {
  <span class="hljs-string">&quot;view&quot;</span>: {
    <span class="hljs-string">&quot;uri&quot;</span>: <span class="hljs-string">&quot;https?://.*&quot;</span>
  }
}
</code></pre>
<h3 id="display">display</h3>
<p>&#x7528;&#x4E8E;&#x5B9A;&#x4E49;&#x4E0E; UI &#x663E;&#x793A;&#x76F8;&#x5173;&#x7684;&#x914D;&#x7F6E;&#x3002;</p>
<table>
<thead>
<tr>
<th style="text-align:left">&#x5C5E;&#x6027;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x9ED8;&#x8BA4;&#x503C;</th>
<th style="text-align:left">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">backgroundColor</td>
<td style="text-align:left">String</td>
<td style="text-align:left">#ffffff</td>
<td style="text-align:left">&#x7A97;&#x53E3;&#x80CC;&#x666F;&#x989C;&#x8272;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">fullScreen</td>
<td style="text-align:left">Boolean</td>
<td style="text-align:left">false</td>
<td style="text-align:left">&#x662F;&#x5426;&#x662F;&#x5168;&#x5C4F;&#x6A21;&#x5F0F;&#xFF0C;&#x5168;&#x5C4F;&#x6A21;&#x5F0F;&#x4E0B;&#x72B6;&#x6001;&#x680F;&#x4E5F;&#x4F1A;&#x88AB;&#x8986;&#x76D6;&#xFF0C;&#x9ED8;&#x8BA4;&#x4E0D;&#x4F1A;&#x540C;&#x65F6;&#x4F5C;&#x7528;&#x4E8E; titleBar &#xFF0C;titleBar &#x9700;&#x8981;&#x7EE7;&#x7EED;&#x901A;&#x8FC7; titleBar &#x63A7;&#x5236;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">titleBar</td>
<td style="text-align:left">Boolean</td>
<td style="text-align:left">true</td>
<td style="text-align:left">&#x662F;&#x5426;&#x663E;&#x793A; titleBar&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">titleBarBackgroundColor</td>
<td style="text-align:left">String</td>
<td style="text-align:left">-</td>
<td style="text-align:left">&#x6807;&#x9898;&#x680F;&#x80CC;&#x666F;&#x8272;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">titleBarTextColor</td>
<td style="text-align:left">String</td>
<td style="text-align:left">-</td>
<td style="text-align:left">&#x6807;&#x9898;&#x680F;&#x6587;&#x5B57;&#x989C;&#x8272;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">titleBarText</td>
<td style="text-align:left">String</td>
<td style="text-align:left">-</td>
<td style="text-align:left">&#x6807;&#x9898;&#x680F;&#x6587;&#x5B57;&#xFF08;&#x4E5F;&#x53EF;&#x901A;&#x8FC7;&#x9875;&#x9762;&#x8DF3;&#x8F6C;&#x4F20;&#x9012;&#x53C2;&#x6570;&#xFF08;titleBarText&#xFF09;&#x8BBE;&#x7F6E;&#xFF09;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">menu</td>
<td style="text-align:left">Boolean</td>
<td style="text-align:left">false</td>
<td style="text-align:left">&#x662F;&#x5426;&#x663E;&#x793A;&#x6807;&#x9898;&#x680F;&#x53F3;&#x4E0A;&#x89D2;&#x83DC;&#x5355;&#x6309;&#x94AE;&#x3002;</td>
</tr>
<tr>
<td style="text-align:left">pages</td>
<td style="text-align:left">Object</td>
<td style="text-align:left">-</td>
<td style="text-align:left">&#x5404;&#x4E2A;&#x9875;&#x9762;&#x7684;&#x663E;&#x793A;&#x6837;&#x5F0F;&#xFF0C;key &#x4E3A;&#x9875;&#x9762;&#x540D;&#xFF08;&#x4E0E;&#x8DEF;&#x7531;&#x4E2D;&#x7684;&#x9875;&#x9762;&#x540D;&#x4FDD;&#x6301;&#x4E00;&#x81F4;&#xFF09;&#xFF0C;value &#x4E3A;&#x7A97;&#x53E3;&#x663E;&#x793A;&#x6837;&#x5F0F;&#xFF0C;&#x9875;&#x9762;&#x6837;&#x5F0F;&#x8986;&#x76D6; default &#x6837;&#x5F0F;&#x3002;</td>
</tr>
</tbody>
</table>
<h3 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h3>
<pre><code class="lang-json">{
  <span class="hljs-string">&quot;package&quot;</span>: <span class="hljs-string">&quot;com.company.unit&quot;</span>,
  <span class="hljs-string">&quot;name&quot;</span>: <span class="hljs-string">&quot;appName&quot;</span>,
  <span class="hljs-string">&quot;icon&quot;</span>: <span class="hljs-string">&quot;/Common/icon.png&quot;</span>,
  <span class="hljs-string">&quot;versionName&quot;</span>: <span class="hljs-string">&quot;1.0&quot;</span>,
  <span class="hljs-string">&quot;versionCode&quot;</span>: <span class="hljs-number">1</span>,
  <span class="hljs-string">&quot;minPlatformVersion&quot;</span>: <span class="hljs-number">1000</span>,
  <span class="hljs-string">&quot;features&quot;</span>: [
    {
      <span class="hljs-string">&quot;name&quot;</span>: <span class="hljs-string">&quot;system.network&quot;</span>
    }
  ],
  <span class="hljs-string">&quot;permissions&quot;</span>: [
    {
      <span class="hljs-string">&quot;origin&quot;</span>: <span class="hljs-string">&quot;*&quot;</span>
    }
  ],
  <span class="hljs-string">&quot;config&quot;</span>: {
    <span class="hljs-string">&quot;logLevel&quot;</span>: <span class="hljs-string">&quot;off&quot;</span>
  },
  <span class="hljs-string">&quot;router&quot;</span>: {
    <span class="hljs-string">&quot;entry&quot;</span>: <span class="hljs-string">&quot;Hello&quot;</span>,
    <span class="hljs-string">&quot;pages&quot;</span>: {
      <span class="hljs-string">&quot;Hello&quot;</span>: {
        <span class="hljs-string">&quot;component&quot;</span>: <span class="hljs-string">&quot;hello&quot;</span>,
        <span class="hljs-string">&quot;path&quot;</span>: <span class="hljs-string">&quot;/&quot;</span>,
        <span class="hljs-string">&quot;filter&quot;</span>: {
          <span class="hljs-string">&quot;view&quot;</span>: {
            <span class="hljs-string">&quot;uri&quot;</span>: <span class="hljs-string">&quot;https?://.*&quot;</span>
          }
        }
      }
    }
  },
  <span class="hljs-string">&quot;display&quot;</span>: {
    <span class="hljs-string">&quot;backgroundColor&quot;</span>: <span class="hljs-string">&quot;#ffffff&quot;</span>,
    <span class="hljs-string">&quot;fullScreen&quot;</span>: <span class="hljs-literal">false</span>,
    <span class="hljs-string">&quot;titleBar&quot;</span>: <span class="hljs-literal">true</span>,
    <span class="hljs-string">&quot;titleBarBackgroundColor&quot;</span>: <span class="hljs-string">&quot;#000000&quot;</span>,
    <span class="hljs-string">&quot;titleBarTextColor&quot;</span>: <span class="hljs-string">&quot;#fffff&quot;</span>,
    <span class="hljs-string">&quot;pages&quot;</span>: {
      <span class="hljs-string">&quot;Hello&quot;</span>: {
        <span class="hljs-string">&quot;backgroundColor&quot;</span>: <span class="hljs-string">&quot;#eeeeee&quot;</span>,
        <span class="hljs-string">&quot;fullScreen&quot;</span>: <span class="hljs-literal">true</span>,
        <span class="hljs-string">&quot;titleBarBackgroundColor&quot;</span>: <span class="hljs-string">&quot;#0000ff&quot;</span>,
        <span class="hljs-string">&quot;titleBarText&quot;</span>: <span class="hljs-string">&quot;Hello&quot;</span>
      }
    }
  }
}
</code></pre>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="file.html" class="navigation navigation-prev " aria-label="Previous page: 文件组织">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="nml.html" class="navigation navigation-next " aria-label="Next page: nml文件">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"manifest文件","level":"1.3.2","depth":2,"next":{"title":"nml文件","level":"1.3.3","depth":2,"path":"framework/nml.md","ref":"framework/nml.md","articles":[]},"previous":{"title":"文件组织","level":"1.3.1","depth":2,"path":"framework/file.md","ref":"framework/file.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"framework/manifest.md","mtime":"2018-03-07T04:00:43.788Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-03-21T12:50:57.603Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

